package com.bj58.ecdata.webframework;

public class Config {

	public String logpath = ".";
	public int port = 8081;
	public int min_thread = 128;
	public int max_thread = 512;
	public int max_idle_time = 60000;
	public boolean log = false;
	public String web_xml = "webapp/WEB-INF/web.xml";
	public String webapp = "src/main/webapp";
	public String scanclass = "com.";
	public String contextPath = "/";
	public String tempDir = null;//
	public String projectName = null;

	/**
	 * @return the projectName
	 */
	public String getProjectName() {
		return projectName;
	}

	/**
	 * @param projectName
	 *            the projectName to set
	 */
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getContextPath() {
		return contextPath;
	}

	public void setContextPath(String contextPath) {
		this.contextPath = contextPath;
	}

	public int getMin_thread() {
		return min_thread;
	}

	public void setMin_thread(int min_thread) {
		this.min_thread = min_thread;
	}

	public int getMax_thread() {
		return max_thread;
	}

	public void setMax_thread(int max_thread) {
		this.max_thread = max_thread;
	}

	public String getLogpath() {
		return logpath;
	}

	public void setLogpath(String logpath) {
		this.logpath = logpath;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public int getMAX_IDLE_TIME() {
		return max_idle_time;
	}

	public void setMAX_IDLE_TIME(int mAX_IDLE_TIME) {
		max_idle_time = mAX_IDLE_TIME;
	}

	public boolean isLog() {
		return log;
	}

	public void setLog(boolean log) {
		this.log = log;
	}

	public int getMax_idle_time() {
		return max_idle_time;
	}

	public void setMax_idle_time(int max_idle_time) {
		this.max_idle_time = max_idle_time;
	}

	public String getWeb_xml() {
		return web_xml;
	}

	public void setWeb_xml(String web_xml) {
		this.web_xml = web_xml;
	}

	public String getWebapp() {
		return webapp;
	}

	public void setWebapp(String webapp) {
		this.webapp = webapp;
	}

	public String getScanclass() {
		return scanclass;
	}

	public void setScanclass(String scanclass) {
		this.scanclass = scanclass;
	}

	public String getTempDir() {
		return tempDir;
	}

	public void setTempDir(String tempDir) {
		this.tempDir = tempDir;
	}

	public static void main(String[] sfe) {
		System.out.println(Config.class.getSimpleName());
	}

}
